//获取活动信息
import request from '@/utils/request'
export function activityApi(query) {
    return request({
        url: '/system/activity/userCanRegisterActivityList',
        method: 'get',
        params: query
    })
}
// 活动详情
export const activitysDetailApi = (id) => {
    return request({
        url: `/system/activity/${id}`,
        method: 'get',
    })
}
// 活动报名
export const activitysignlApi = (data) => {
    return request({
        url: `/system/participation`,
        method: 'post',
        data
    })
}
// 活动分类
export function activityCategoryApi(query) {
    return request({
        url: '/system/activityCategory/list',
        method: 'get',
        params: query
    })
}